package test.y2019.october;

import cn.hutool.core.lang.Console;

import java.math.BigDecimal;
import java.math.RoundingMode;
import java.util.HashSet;
import java.util.Set;

/**
 * Created By  醉美柳舞之众星捧月
 *
 * @author song
 * @date 2019/10/16 16:05
 */
public class October4 {
    public static void main(String[] args) {
        String zero = new BigDecimal("80000.00").divide(new BigDecimal(100), 0, RoundingMode.HALF_UP).toString();
        String two = new BigDecimal("80000.00").divide(new BigDecimal(100), 2, RoundingMode.HALF_UP).toString();
        Console.error(zero);
        Console.error(two);

        Set<Integer> set = new HashSet<>();
        set.add(123);
        Console.error(set);
    }
}
